package com.test;

/**
 * @author yhao
 * @create 2017-10-27 10:48
 */

public class C1 {

    public static void main(String[] args) {
        String prices = "3。1";
//        Double zfbLimit = new Double(100);
//        if (Double.valueOf(prices.trim()).compareTo(zfbLimit) >= 0) {
//                System.out.print("111");
//        } else {
//            System.out.print("2222");
//        }
        prices = prices.substring(0, prices.length() - 1);
        System.out.print("prices："+prices);


    }

}
